package com.vehicle.mq.handler;

import com.vehicle.mq.message.MailMessage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by yantingbin on 2017/11/30.
 */
public class MailHandler implements MessageHandler<MailMessage> {
    private static final Logger LOGGER = LoggerFactory.getLogger(MailHandler.class);

    @Override
    public void handle(MailMessage mailMessage) {
        LOGGER.info("send mail message {}",mailMessage);
    }
}
